package cn.heygod.graywhale.runtime.script.domain;


import cn.heygod.graywhale.common.web.base.BaseDomain;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.apache.ibatis.type.Alias;

@Data
@Alias("GwScriptRuntime")
@TableName("gw_script")
public class GwScriptRuntime extends BaseDomain {

    /**
     * 配置标识
     */
    @TableId
    private String id;

    /**
     * 脚本名称
     */
    private String name;

    /**
     * 配置类型
     */
    private String scriptContent;

    /**
     * 是否启用
     */
    private String enable;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getScriptContent() {
        return scriptContent;
    }

    public void setScriptContent(String scriptContent) {
        this.scriptContent = scriptContent;
    }

    public String getEnable() {
        return enable;
    }

    public void setEnable(String enable) {
        this.enable = enable;
    }
}
